import request from "@/api/request";
import common from "@/lib/common";
let baseURL = "";
if (process.env.NODE_ENV === 'production') {
    baseURL = common.server.aliyuncsOss;
} else {
    baseURL = common.devServer.aliyuncsOss;
}

export default {
    version(success, fail) {
        request.get({
            url: `${baseURL}/version.json`,
            success,
            fail: fail
        })
    },
}